package com.ict.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ict.common.core.domain.AjaxResult;
import com.ict.web.controller.file.domain.YzqFile;
import com.ict.web.domain.ProjectInfo;
import com.ict.web.dto.ExportProjectInfo;
import com.ict.web.dto.GetProjectInfoListRespDto;
import com.ict.web.dto.ImportProjectInfoDto;
import com.ict.web.vo.req.GetProjectInfoListReq;
import com.ict.web.vo.req.SaveProjectInfoReq;
import com.ict.web.vo.req.UpdateProjectInfoReq;
import com.ict.web.vo.resp.GetProjectInfoListResp;

import java.util.List;

public interface ProjectInfoService extends IService<ProjectInfo> {
    AjaxResult saveProjectInfo(SaveProjectInfoReq req);

    AjaxResult deletePorjectInfo(String proId);

    AjaxResult updatePorjectInfo(UpdateProjectInfoReq req);

    List<GetProjectInfoListResp> getProjectInfoList(GetProjectInfoListReq req);

    Boolean saveProjectInfoList(List<ImportProjectInfoDto> list);

    List<ExportProjectInfo> getProjectInfoListByIds(List<String> ids);
    List<GetProjectInfoListRespDto> getProjectApprovalInfoList(GetProjectInfoListReq req);
    List<GetProjectInfoListResp> getProjectInfoAll();

    boolean upload(YzqFile file, Long proId);
}
